package com.seasonsfood.mall.service.dispatch.api.model;

import java.io.Serializable;

/**
 * @author Zero on 18-12-27
 */
public class AreaTreeModel implements Serializable {

    private Long id;

    private Long parentId;

    private String areaName;

    private Integer areaType;
    private Integer isHasDisp;

    public AreaTreeModel() {
    }

    public AreaTreeModel(Long id, Long parentId, String areaName, Integer areaType, Integer isHasDisp) {
        this.id = id;
        this.parentId = parentId;
        this.areaName = areaName;
        this.areaType = areaType;
        this.isHasDisp = isHasDisp;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getAreaType() {
        return areaType;
    }

    public void setAreaType(Integer areaType) {
        this.areaType = areaType;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public Integer getIsHasDisp() {
        return isHasDisp;
    }

    public void setIsHasDisp(Integer isHasDisp) {
        this.isHasDisp = isHasDisp;
    }

    @Override
    public String toString() {
        return "AreaTreeModel{" +
                "id=" + id +
                ", parentId=" + parentId +
                ", areaName='" + areaName + '\'' +
                ", areaType=" + areaType +
                ", isHasDisp=" + isHasDisp +
                '}';
    }
}
